package com.studio701.carguard.service;

import com.studio701.carguard.pojo.HelpAnswer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xjc
 * @since 2022-03-16
 */
public interface IHelpAnswerService extends IService<HelpAnswer> {

    boolean updateHelpAnswerById(HelpAnswer helpAnswer);

    boolean removeHelpAnswerByUserIdAndQID(Integer userId, Integer qId);

    HelpAnswer getByUserIdAndQId(Integer userId, Integer qId);

    List<HelpAnswer> getByQId(Integer qId);
}
